[#include "/WEB-INF/pages/common/taglibs.ftl"]
		
		<div class="contenttitle radiusbottom0" style="margin-bottom:1px;">
	    	<h2 id="vertical" class="form"><span>功能展示</span></h2>
	    </div><!--contenttitle-->
	    <form action="[@c.url value='/manage/Menu_${act}.action?backurl=${action.urlEncode(action.backurl)}'/]" method="post" class="stdform stdform2">
        	<p>
            	<label>上级菜单</label>
                <span class="field">
                	<select name="menu.pid" class="atomic">
                		<option value=""></option>
	                	[#list menuList as m]
                		<option value="${(m.id)?c}">${m.title}</option>
	                	[/#list]
                	</select>
                </span>
            </p>
        	<p>
            	<label>名称</label>
                <span class="field"><input type="text" class="atomicinput" name="menu.name" value="${(menu.name)!''}" /></span>
            </p>
            <p>
            	<label>标题</label>
                <span class="field"><input type="text" class="atomicinput" name="menu.title" value="${(menu.title)!''}" /></span>
            </p>
             <p>
            	<label>样式表(CSS)<small>多个以 "<strong style="color:red">, </strong>" 进行分割.</small></label>
                <span class="field"><input type="text" class="atomicinput" name="menu.css" value="${(menu.css)!''}"/></span>
            </p>
             <p>
            	<label>样式(style)</label>
                <span class="field"><input type="text" class="tinyinput" name="menu.style" value="${(menu.style)!''}"/></span>
            </p>
             <p>
            	<label>高亮条件<small>多个以"<strong style="color:red">, </strong>"进行分割.</small></label>
                <span class="field"><input type="text" class="mediuminput" name="menu.pattern" value="${(menu.pattern)!''}"/></span>
            </p>
            <p>
            	<label>URL</label>
                <span class="field"><input type="text" class="mediuminput" name="menu.url" value="${(menu.url)!''}" /></span>
            </p>
            <p>
            	<label>类型</label>
                <span class="field">
	                <select id="selection2" name="menu.type">
	                	<option value="">请选择</option>
	                    <option value="menu">菜单</option>
	                    <option value="navibar">导航</option>
	                </select>
                </span>
            </p>
			<p>
            	<label>允许匿名访问</label>
                <span class="field">
    				<input id="isAnonymous" rel="{labelOn: '允许 ', labelOff: '授权 ', easing: 'easeOutBounce', duration: 800, click:function(e){base.permission(${(menu.id)! '0'}, e);}}" class="yes_no" type="checkbox" style="height:33px;" id="cpermission" name="menu.anonymous" value="true" [#if menu == null || (menu.anonymous == true)]checked[/#if]/>
    				<br />
    				<i id="roleList" style=""> </i>
                </span>
            </p>
			<p>
            	<label>是否可用</label>
                <span class="field">
                	<input rel="{labelOn: '可用 ', labelOff: '禁用 ', easing: 'easeOutBounce', duration: 800}" class="yes_no" type="checkbox" style="height:33px;" name="menu.enabled" value="true" [#if menu == null || (menu.enabled == true)]checked[/#if]/>
                </span>
            </p>
            <p>
            	<label>菜单描述<small>备注或描述信息可以写在这里.</small></label>
                <span class="field"><textarea class="longinput" name="menu.notes" rows="5" cols="60">${(menu.notes)!''}</textarea></span>
            </p>
            <p class="stdformbutton">
            	<button class="submit radius2">提交</button>
                <input type="reset" value="重置" class="reset radius2">
            </p>
        </form>